import defaultImg from "./img/default.png";
import "./css/index.css";

import kitty from "./img/kitty.gif";
console.log("kitty=", kitty);

const img = document.querySelector("#imgKitty");
img.src = defaultImg;
setTimeout(() => {
  img.src = kitty;
}, 3000);

const name = "Webpack";
console.log(`Hello,${name}!`);

import { add } from "../util/math.js";
console.log(add(2, 3));

console.log("ENV", ENV);
console.log("APP_VERSION", APP_VERSION);
console.log("CHANNEL", CHANNEL);

const numbers = require("./asset/example.txt");
console.log(numbers); // [2, 3, 4, 5, 6, 7]
